//
//  mm_selectCustomersViewController.h
//  HondaPro_2
//
//  Created by Eric on 13-7-1.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HelpClass.h"
#import "MainMenuDataModel.h"
#import "webConfig.h"
#import "webService.h"

#import "SVProgressHUD.h"

@interface mm_selectCustomersViewController : UIViewController
{
    NSInteger _customerIdType;
    
    NSArray *_arrAllTheCustomers;
    NSMutableArray *_arrForTheSelState;
    
    NSString *_strStateNumber;
    NSString *_strIndicationNumber;
}

@property (strong,nonatomic) NSString *strStateNumber;
@property (strong,nonatomic) NSString *strIndicationNumber;

@property (strong, nonatomic) IBOutlet UITextField *customerIdTxt;
@property (strong, nonatomic) IBOutlet UITextField *customerNameTxt;
@property (strong, nonatomic) IBOutlet UITableView *tableViewDis;

- (IBAction)xieYiKeHuBtn:(UIButton *)sender;
- (IBAction)puTongKeHuBtn:(UIButton *)sender;
- (IBAction)searchBtn:(UIButton *)sender;

//根据陈述号和指示号确定多客户分配的选择项，然后将选择的客户加入到该选择项中
-(void)addAllocationListByStatementNumber:(NSString *)statementNumber andIndicationNumber:(NSString *)indicationNumber;

/*just for test*/
-(void)jsonParseFromMultipleCustomerAllocation;
/*end of just for test*/

//获取客户列表回调方法
-(void)getCustomerList:(NSNotification*)notification;

@end
